package EjemplosClasesComunes;

import java.io.FileInputStream;
import java.io.IOException;
import java.util.Properties;

public class ClaseProperties {
	public static void main(String[] args) {
		try {
			Properties prop = new Properties();
			FileInputStream name = new FileInputStream("Prueba.properties");
			prop.load(name);
			String version = prop.getProperty("nombre");
			String numero = prop.getProperty("numero");
			String fecha = prop.getProperty("fecha");
			System.out.println(version);
			System.out.println(numero);
			System.out.println(fecha);
			name.close();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}

	}

}
